﻿<Window x:Class="RPGOnlineWPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:viewModel="clr-namespace:RPGOnlineWPF.ViewModel"
        xmlns:renderer="clr-namespace:RPGOnlineWPF.Renderer"
        mc:Ignorable="d"
        Height="600"
        Width="800"
        Title="MVVM Light Application"
        DataContext="{Binding Main, Source={StaticResource Locator}}">
    
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Skins/MainSkin.xaml" />
            </ResourceDictionary.MergedDictionaries>

			
		</ResourceDictionary>
    </Window.Resources>

    <Grid x:Name="LayoutRoot">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="230" />
			<ColumnDefinition Width="440*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="*"></RowDefinition>
			<RowDefinition Height="300"></RowDefinition>
		</Grid.RowDefinitions>

		<renderer:DXElement Grid.Row="0" Grid.ColumnSpan="2" x:Name="dxView"></renderer:DXElement>
		<ContentPresenter ContentTemplate="{StaticResource ChatUsersDataTemplate}" Grid.Column="0" Grid.Row="1" Content="{Binding Chat, Source={StaticResource Locator}}"></ContentPresenter>
		<ContentPresenter ContentTemplate="{StaticResource ChatConversationsDataTemplate}" Grid.Column="1" Grid.Row="1" Content="{Binding Chat, Source={StaticResource Locator}}"></ContentPresenter>
    </Grid>
</Window>
